package com.senney.java.ssm.service.impl;

import com.senney.java.ssm.bean.Employee;
import com.senney.java.ssm.dao.EmployeeMapper;
import com.senney.java.ssm.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeServiceImpl implements IEmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> getAllEmp() {
        return employeeMapper.getAllEmp();
    }
}
